package com.gengine.core
{
	public class ClassProxy extends Object
	{
		public var myparams:Object;
		
		public function ClassProxy()
		{
			initParams();
		}
		
		public function write(data:Object) : void
		{
			for (var key : Object in data)
			{
				
				if (this.hasOwnProperty(key))
				{
					this[key] = data[key];
				}
			}
		}
		
		private function initParams() : void
		{
			myparams = {};
			myparams.platformCode="987654321";
			myparams.version="1.0.0.3_201006013_1";
			//myparams.flashVersion=myparams.version;
			
			myparams.loginIP = "frmmo1.my4399.com:9500";
			myparams.gameIP = "";
			
			//myparams.gameUrl =  "MainGame.swf?v="+myparams.version;
			//myparams.configUrl = "data/data?v="+myparams.version;
			//myparams.createRoleUrl = "CreateRole_v2.swf?v="+myparams.version;
			
			myparams.mainPath = "";
			myparams.dothingUrl="../f2_game/up_reg_info.php?1=1"// php 统计页面
			myparams.randomNameUrl="/f2_game/get_default_rolename.php?1=1";//随机获取角色名页面
			myparams.loginGiftUrl = "/f2_game/login_gift.php?1=1";
			myparams.password = "123456";	
			myparams.platformCode = "4399";
			
			myparams.payUrl = "http://pay.4399.com?gamename=frxz2#gameserver=S1#username="; //充值付费url(4399)
			myparams.actimUrl = "http://frxz2.4399.com/";//官网地址
			myparams.bbsUrl = "http://bbs.youjia.cn/frxz2";//论坛地址
			//myparams.proctecUrl = "";//防沉迷地址
			myparams.xskUrl = "http://frxz2.4399.com/xsk/";//新手卡地址
			myparams.title = "4399《凡人修真2》双线一服 鸿蒙天道 - 4399网页游戏——中国最大的网页游戏平台";
			myparams.gmInfo = "1、QQ交流群：127711629 \n2、客服1号QQ：1259235414  客服3号QQ：1299394448 \n3、客服电话：400-655-4399转112。";
			myparams.gmHelpUrl = "http://web.4399.com/kefu/online/frxz2.html";
			
			myparams.username = "yzb1986";
			myparams.ServerId = "S8";
			myparams.time = "1319117045";
			myparams.flag = "8b3fd1f0335a4887af858628702a0308";
			myparams.issm = "1";
			myparams.isDebug = "true";
			
			//myparams.preloaders = "x40000000.swf,y40000000.swf,21000033.swf";
			myparams.isAddFairyland = true;
			myparams.flashVersion = "1.0.0.4_20111019";
			myparams.loaderUrl = "Preloader.swf?v="+myparams.flashVersion+"_2";
			myparams.gameUrl =  "MainGame.swf?v="+myparams.flashVersion+"_5"
			myparams.configUrl = "data/data?v="+myparams.flashVersion+"_2";
			myparams.createRoleUrl = "CreateRole_v4.swf?v="+myparams.flashVersion+"_1";
		}
	}
}
